Welcome, Guest
Username: Password: Remember me
1. The "search..." box above searches the Docs & Forum Posts. The "Search" tab above just searches the Forum Posts. :side:
Please use these to search for your issue *before* creating a new message topic, as your issue may have been previously solved.
2. Please put your Club # and Club Web Address in your Forum Signature (best) OR in each post to get faster support from us.
Click here to edit your signature at the bottom of the Profile Information tab.
3. Our user and admin docs are available at: support.toastmastersclubs.org/doc "There's a doc for that!" ;)
4. There is an "Opt In" Feature for newly added members. The Opt In document explains the strikethrough member information. Click Here to View the Post
5. When posting a New Topic , please include all relevant details and be specific. When did your issue 1st occur? What operating system, browser, & browser version are you using? Did you refresh your browser cache? Are your cookies enabled? Lastly, a screen shot is often helpful.
6. Please abide by the Terms of Use . We are volunteers contributing our spare time. We are happy to assist you, so long as you are respectful and courteous.
7. We are always looking for new FreeToastHost Ambassadors to join our team and support fellow Toastmasters in their use of the FreeToastHost website system. If you are familiar with the system and have some interest, send a Send Us a Private Message.
  • Page:
  • 1

TOPIC:

Name Tag Maker {{awards}} Variable Not Recognizing Pathways Awards? 6 years 3 days ago #75692

  • yxetm
  • yxetm's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 2
Hello,

I was printing name tags and noticed that Pathways awards produced some undesirable results.

Here was my process (screenshots) :

Member Information:
Test Member, IP1, CL

Name Tag Template:
{{firstname}} {{lastname}}
{{awards}}


{{officerrole}}

Expected Result:
Test Member
IP1, CL

(Note: Member does not hold an officer role)

Actual Result:
Test IP1
CL

It seems as though the system recognizes IP1 (Innovative Planning Level 1 award) as the last name. Therefore, the real last name is replaced and CL is recognized as the only award.

Am I inputing the Pathways awards incorrectly?

Any help is much appreciated, thank you!
This account is maintained by the website administrator for Saskatoon Toastmasters (Club #450) .
Last edit: by yxetm. Reason: Screenshots would not attach properly.
The topic has been locked.

Name Tag Maker {{awards}} Variable Not Recognizing Pathways Awards? 6 years 3 days ago #75697

  • SteveTheTechie
  • SteveTheTechie's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 11526
  • Thank you received: 3795
It looks like I need to work on updating the awards variable a bit for Pathways. (it got missed)

For now I would suggest avoiding that variable.
The following user(s) said Thank You: yxetm
The topic has been locked.

Name Tag Maker {{awards}} Variable Not Recognizing Pathways Awards? 6 years 3 days ago #75701

  • yxetm
  • yxetm's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 2
No worries, I can definitely work around it.

Thanks for the quick reply!
This account is maintained by the website administrator for Saskatoon Toastmasters (Club #450) .
The topic has been locked.

Name Tag Maker {{awards}} Variable Not Recognizing Pathways Awards? 6 years 3 days ago #75703

  • SteveTheTechie
  • SteveTheTechie's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 11526
  • Thank you received: 3795
I went ahead and tweaked the code for this a little bit. Let me know if this works better for you.

I am not sure that other clubs and members will use the same notation for the pathways path / levels, but I decided to go ahead and adopt that 2 letter + number scheme for now as I really do not have a good alternative. Anything else is bound to be more verbose.

There is probably still some room for improvement on how the name suffixes are handled. If you have someone with a PhD and a DTM, for example, you would probably see the DTM in both the namesuffix variable and the awards variable, but only the PhD in the namesuffix variable. (I do not think there is currently a means to get them split totally separately)

Also, keep in mind how underscores are used as a non-breaking space for people that have multi-part names. E.g. Sue Ann Jones or Jose De La Joya ... use the underscore in the names as a non-breaking space to force the code to split the names correctly into the first and last names for the features that support separate first and last name usage.
The following user(s) said Thank You: yxetm
Last edit: by SteveTheTechie.
The topic has been locked.

Name Tag Maker {{awards}} Variable Not Recognizing Pathways Awards? 6 years 2 days ago #75707

  • yxetm
  • yxetm's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 2

I went ahead and tweaked the code for this a little bit. Let me know if this works better for you.


Thanks, it works great now!

I am not sure that other clubs and members will use the same notation for the pathways path / levels, but I decided to go ahead and adopt that 2 letter + number scheme for now as I really do not have a good alternative. Anything else is bound to be more verbose.


I took this notation from the roster from Toastmasters International. As long as they don't change it I think it's likely to become the standard.

Also, keep in mind how underscores are used as a non-breaking space for people that have multi-part names. E.g. Sue Ann Jones or Jose De La Joya ... use the underscore in the names as a non-breaking space to force the code to split the names correctly into the first and last names for the features that support separate first and last name usage.


Thanks for the tip! I don't recall having run into this in the past but I'll be sure to remember it in the future.
This account is maintained by the website administrator for Saskatoon Toastmasters (Club #450) .
The following user(s) said Thank You: SteveTheTechie
The topic has been locked.
  • Page:
  • 1
Moderators: Pamjliumarc33NotLiabledeedubbleyooNSBPhyllis Kirouac
Time to create page: 0.039 seconds
Powered by Kunena Forum